Скрипт CDR - Show Variables вроде норм, но когда слишком много переменных, игра тормозит.
В общем, вот патч, если кому-нибудь нужно.
Код:
=begin
Patch for CDR - Show Variables (unofficial)
Fixes FPS drop.
Author of the original script: Ceodore
(ceodore@email.com, https://ceodoremaker.wordpress.com)
Author of the patch: WhitePaper
You may freely use or modify this patch. Credit is not required.
=end
class Scene_Map < Scene_Base
def update
cdr_sv_update
end
end
class Game_Interpreter
alias wp_command_122 command_122
def command_122
wp_command_122
SceneManager.scene.variables_window.refresh
end
end
class Window_Variables < Window_Base
alias wp_show_variable show_variable
def show_variable(n)
wp_show_variable(n)
self.refresh
end
alias wp_hide_variable hide_variable
def hide_variable(n)
wp_hide_variable(n)
self.refresh
end
end
Социальные закладки